Skip to content

XCOMMONS-3289: Allow overwritting xwiki.properties and xwiki.cfg properties via environment variable and Java system properties #4069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

tmortagne
Copy link
Member

@tmortagne tmortagne commented Apr 18, 2025

The xwiki-commons side of things can be reviewed on xwiki/xwiki-commons#1315

Jira URL

https://jira.xwiki.org/browse/XCOMMONS-3289

Changes

Description

It's mainly about updating platform following xwiki/xwiki-commons#1315.

It also adds support for overwriting the following configuration sources with the system configuration source:

  • xwikiproperties
  • superadminuser
  • guestuser
  • permanent
  • xwikicfg

Executed Tests

  • various new unit tests

TODO:

  • Actually use system properties. For example in integration tests, instead of modifying xwiki.properties would be a good "real" test.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches: No

…erties via environment variable and Java system properties
@tmortagne tmortagne force-pushed the feature-systemconfiguration branch from 00ab83c to 2a85f32 Compare May 15, 2025 14:26
@tmortagne tmortagne marked this pull request as ready for review May 15, 2025 14:29
@tmortagne tmortagne merged commit e7d0841 into master May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant